package com.udaos.models.school;

import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;
import org.nutz.dao.entity.annotation.Name;

import com.udaos.common.base.Model;
/**
* @author mutaotao
* @time   2017-01-17 11:36:15
*/
@Table("ud_school")
public class Ud_school extends Model implements Serializable {
	
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	@Prev(els = {@EL("uuid()")})
	private String id;
	@Column
	@Comment("状态 0:正常;-1:未启用;1:停用")
	private Integer state;
	@Column
	@Comment("片区")
	private String region_id;
	@Column
	@Comment("编码")
	private String code;
	@Column
	@Comment("名称")
	private String name;
	@Column
	@Comment("是否分校")
	private Boolean is_branch;
	@Column
	@Comment("加入时间")
	private Integer join_time;
	@Column
	@Comment("联系人")
	private String linkman;
	@Column
	@Comment("联系电话")
	private String phone;
	@Column
	@Comment("地址")
	private String address;
	@Column
	private String createBy;
	@Column
	private Integer createAt;
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id=id;
	}
	public Integer getState()
	{
		return state;
	}
	public void setState(Integer state)
	{
		this.state=state;
	}
	public String getRegion_id()
	{
		return region_id;
	}
	public void setRegion_id(String region_id)
	{
		this.region_id=region_id;
	}
	public String getCode()
	{
		return code;
	}
	public void setCode(String code)
	{
		this.code=code;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name=name;
	}
	public Boolean getIs_branch()
	{
		return is_branch;
	}
	public void setIs_branch(Boolean is_branch)
	{
		this.is_branch=is_branch;
	}
	public Integer getJoin_time()
	{
		return join_time;
	}
	public void setJoin_time(Integer join_time)
	{
		this.join_time=join_time;
	}
	public String getLinkman()
	{
		return linkman;
	}
	public void setLinkman(String linkman)
	{
		this.linkman=linkman;
	}
	public String getPhone()
	{
		return phone;
	}
	public void setPhone(String phone)
	{
		this.phone=phone;
	}
	public String getAddress()
	{
		return address;
	}
	public void setAddress(String address)
	{
		this.address=address;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Integer getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Integer createAt) {
		this.createAt = createAt;
	}

}